//
//  CrossModel.h
//  糗事百科
//
//  Created by 奚超明 on 16/6/1.
//  Copyright © 2016年 奚超明. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CrossUserModel;
@class ImageModel;

@interface CrossModel : NSObject
/** 用户 */
@property (nonatomic, strong) CrossUserModel *user;
/** 图片尺寸 */
@property (nonatomic, strong) ImageModel *image_size;
/** 图片 */
@property (nonatomic, strong) NSString *image;
/** 内容 */
@property (nonatomic, strong) NSString *content;
/** 好笑 */
@property (nonatomic, strong) NSNumber *up;
/** 评论 */
@property (nonatomic, strong) NSNumber *comments_count;
/** 分享 */
@property (nonatomic, strong) NSNumber *share_count;
/** 文章id */
@property (nonatomic, strong) NSString *ID;


+ (instancetype)crossWithDic:(NSDictionary *)dic;

// 附加属性
/** 行高 */
@property (nonatomic, assign) CGFloat cellHeight;

@end
